package com.hushui.mall.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hushui.common.utils.PageUtils;
import com.hushui.mall.commodity.entity.SpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author miya
 * @email sunlightcs@gmail.com
 * @date 2023-03-16 11:38:45
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);
    PageUtils querySpuPage(Map<String, Object> params,Long brandId,Integer status,Long catelogId);
    /**
     * 从数据库中查出可以用于检索的所有sku
     *
     * @return
     */
    boolean up(Long spuId);
}

